package com.dinzeer.legendreliclib.lib;

import com.dinzeer.legendreliclib.lib.util.impl.IStackManager;
import com.dinzeer.legendreliclib.lib.util.impl.RegisteredStackManager;

import static com.dinzeer.legendreliclib.Legendreliclib.MODID;

public class StackReg {

    public static final IStackManager COMBO_NUMBER = register("combo_number", Integer.MAX_VALUE);
    public static final IStackManager LAST_DAMAGE = register("last_damage", Integer.MAX_VALUE);

    public static IStackManager register(String name, int max){
        return RegisteredStackManager.Registry.register(MODID+":"+name, max);
    }
}
